﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZK.Models
{
    /// <summary>
    /// 设备通用模型
    /// </summary>
    public class TerminalM
    {
        public int id;
        /// <summary>
        /// 名称
        /// </summary>
        public String name;

        /// <summary>
        /// 工作状态 1启用 0禁用
        /// </summary>
        public int? workState;

        /// <summary>
        /// 安装堆位
        /// </summary>
        public string local;

        /// <summary>
        /// 安装位置
        /// </summary>
        public string localDetail;

        /// <summary>
        /// 设备类型
        /// </summary>
        public string type;
        /// <summary>
        /// 1ip 2 串口
        /// </summary>
        public int? ipCom;
        /// <summary>
        /// 备注长度最大100
        /// </summary>
        public string remark;



        /// <summary>
        /// 端口
        /// </summary>
        public int? port;

        /// <summary>
        /// 登录设备的账号
        /// </summary>
        public string userName;

        /// <summary>
        /// 登录设备的密码
        /// </summary>
        public string password;

        /// <summary>
        /// Led宽度
        /// </summary>
        public int? width;

        /// <summary>
        /// Led高度
        /// </summary>
        public int? height;

        /// <summary>
        /// ip地址
        /// </summary>
        public string ip;
        /// <summary>
        /// com口
        /// </summary>
        public string com;

        /// <summary>
        /// 工控机位置位置
        /// </summary>
        public string position;

        /// <summary>
        /// code不能重复
        /// </summary>
        public int? code;
        public int? dataBits1;
        public int? baudRate1;

    }
}
